<?php
namespace Home\Model;
use Think\Model;
class VercodeModel extends Model 
{
    public function vercode()
    {
        $sql = "select * from vercode order by rand() limit 1";
        //echo $sql;
        $res = M()->query($sql);
        $res = current($res);
        $_SESSION['vercode_answer'] = $res['answer'];
        return $res['question'];
    }
}